#include <string>

/**
 * stringתwstring
 */
std::wstring String2WString(const std::string str) {
    const char* s = str.data();

    std::wstring wstrString;
    if (s != NULL) {
        std::string str(s);
        wstrString.assign(str.begin(), str.end());
    }

    return wstrString;
}